package com.ruoyi.activity.model.domain;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 账号管理
 *
 * @author ruoyi
 * @date 2024-06-27
 */
@Data
public class User{
    private static final long serialVersionUID = 1L;

    /**
     * 主键ID
     */
    private Long id;

    /**
     * 账号
     */
    @Excel(name = "账号")
    private String account;

    /**
     * 用户真实姓名
     */
    @Excel(name = "姓名")
    private String userName;

    /**
     * 密码
     */
    @Excel(name = "密码")
    private String userPassword;

    /**
     * 身份
     */
    @Excel(name = "身份")
    private String identity;

    /**
     * 学校
     */
    @Excel(name = "学校")
    private String school;

    /**
     * 报名组别
     */
    @Excel(name = "报名组别")
    private String enrollmentGroup;

    /**
     * 用户头像
     */
    @Excel(name = "用户头像")
    private String avatar;

    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createdTime;

    /**
     * 更新时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date updatedTime;

}
